<!DOCTYPE html>
<html lang="en">
{include file="public/head" /}
<link href="__ADMIN__/vendors/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
<!-- bootstrap-daterangepicker -->
<link href="__ADMIN__/vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <!-- menu -->
        {include file="public/menu" /}
        <!-- menu -->
        <!-- top navigation -->
        {include file="public/top" /}
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
              <div class="title_left">
                <h3>积分管理</h3>
              </div>
            </div>
            <div class="clearfix"></div>
            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <!--content-->
                <div class="x_panel">
                  <div class="x_title">
                    <h2>查看积分记录 <small>list credit</small></h2>

                    <ul class="nav navbar-right panel_toolbox">
                        <!--
                      <li>
                          <div class="input-group">
                              <input type="text" required="required" placeholder="请输入订单编号" class="form-control col-md-4 col-xs-6 order_num">
                              <span class="input-group-btn">
                            <button type="button" class="btn btn-success order_search_button">查找</button>
                          </span>
                          </div>
                      </li>
                        -->
                      

    
                      <li>
                        <button type="button" class="btn btn-success condition_destroy">重置条件</button>
                      </li>
                        <!--
                      <li>
                        <button type="button" class="btn btn-warning data-export">导出数据</button>
                      </li>
                        -->
                    </ul>

                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">
                    <br>
                        <div class="table-responsive">
                          <table data-toggle="table" class="table">
                              <thead>
                                  <tr>
                                      <th>ID</th>
                                      <th>用户id</th>
                                      <th>用户名</th>
                                      <th>积分</th>
                                      <th>类型</th>
                                      <th>变更原因</th>
                                      <th>状态</th>
                                      <th>修改时间</th>
                                  </tr>
                              </thead>
                              <tbody>
                                  {volist name="list" id="vo"}
                                  <tr>
                                      <td>{$vo.id}</td>
                                      <td><span>{$vo.user_id}</span></td>
                                      <td><span>{$vo.username}</span></td>
                                      <td><span class="label label-warning">{$vo.credit}</span></td>
                                      <td><span>{$vo.type_text}</span></td>
                                      <td><span class="label label-danger">{$vo.reason}</span></td>
                                      <td><span class="label label-success">{$vo.status_text}</span></td>
                                      <td><span>{$vo.create_time}</span></td>
                                  </tr>
                                  {/volist}
                              </tbody>
                          </table>
                      </div>
                      <div class="panel">
                          <!--分页-->
                          <div class="text-center">
                              <ul class="pagination">
                                  {$list->render()}
                              </ul>
                          </div>
                          <!--分页-->
                      </div>

                  </div>
                </div>
                <!--content-->
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->
        <!-- footer content -->
        {include file="public/footer" /}
        <!-- /footer content -->
      </div>
    </div>
    <!-- script -->
    <!-- jQuery -->
    <script src="__ADMIN__/vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="__ADMIN__/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="__ADMIN__/vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <script src="__ADMIN__/vendors/nprogress/nprogress.js"></script>
    <!-- script -->
    <script src="__ADMIN__/vendors/bootstrap-table/bootstrap-table.min.js"></script>
    <script src="__ADMIN__/vendors/layer/layer.min.js"></script>
    <!-- bootstrap-daterangepicker -->
    <script src="__ADMIN__/vendors/moment/min/moment.min.js"></script>
    <script src="__ADMIN__/vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
    <!-- Custom Theme Scripts -->
    <script src="__ADMIN__/build/js/app.js"></script>
    <script src="__ADMIN__/build/js/custom.js"></script>


  </body>
<script type="text/javascript">
    var startTime;
    var endTime;

    $(function(){

    });
</script>
</html>
